package org.jetlinks.pro.clickhouse;

import org.hswebframework.ezorm.rdb.metadata.dialect.DataTypeBuilder;
import org.jetlinks.pro.clickhouse.types.ClickHouseDataTypes;

import java.util.Optional;

public interface ClickHouseDataType extends org.hswebframework.ezorm.rdb.metadata.DataType, DataTypeBuilder {

    static Optional<ClickHouseDataType> lookup(String expression) {
        return ClickHouseDataTypes.parse(expression);
    }

}
